package com.hrcx.mystery.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

/**
 * 寄售记录表
 *
 * @author LinXiPeng
 * @TableName eb_mystery_user_consignment
 */
@Data
@TableName(value = "eb_mystery_user_consignment")
public class EbMysteryUserConsignment implements Serializable {
    /**
     * 寄售编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 开盒记录编号
     */
    private Integer rid;

    /**
     * 寄售价
     */
    private BigDecimal price;

    /**
     * 创建时间
     */
    private Date creatTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 状态 0：寄售中 1：寄方取消 2：收方拒绝 3：已完成
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}